<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Verifying the Restored Mailbox Data (Applicable to Microsoft Exchange Server 2013 and Later Versions)">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001806524374.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
  <meta name="DC.Publisher" content="20240608">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000001945406733">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Verifying the Restored Mailbox Data (Applicable to Microsoft Exchange Server 2013 and Later Versions)</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000001945406733"></a><a name="EN-US_TOPIC_0000001945406733"></a>
  <h1 class="topictitle1">Verifying the Restored Mailbox Data (Applicable to Microsoft Exchange Server 2013 and Later Versions)</h1>
  <div>
   <p>After the restoration, you need to update the user mailbox status at the production end and create an Active Directory domain user to connect to the restored mailbox to verify the restored user mailbox data.</p>
   <div class="section">
    <h4 class="sectiontitle">Precautions</h4>
    <ul>
     <li>For Microsoft Exchange Server 2010, restoration to the original location is not supported in the following scenario: After the database is backed up, some mailboxes in the database are deleted, and then restoration to the original location is performed.</li>
     <li>After the restoration, you need to determine the mailbox whose status needs to be updated based on whether a database with the same name exists in the target location.
      <ul>
       <li>If it exists, you need to update the mailbox status of the different mailbox in the database with the same name at the target production end.</li>
       <li>If it does not exist, you need to update the status of all mailboxes in the database at the target production end.</li>
      </ul></li>
    </ul>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Procedure</h4>
    <p>The following procedure uses <strong>test2020</strong> as the original database name, <strong>mail001</strong> as the name of the restored mailbox, and <strong>testb2020</strong> as the name of the database in the new location.</p>
    <ol>
     <li><span>After the restoration is complete, log in to the client where the target Exchange Server database resides as an administrator and open Exchange Management Shell.</span></li>
     <li id="EN-US_TOPIC_0000001945406733__li1231285813236"><a name="EN-US_TOPIC_0000001945406733__li1231285813236"></a><a name="li1231285813236"></a><span>Run the following command to query information about all databases. Record the GUID of database <strong>test2020</strong>.</span><p></p><pre class="screen">Get-MailboxDatabase|select name,GUID</pre> <p></p></li>
     <li id="EN-US_TOPIC_0000001945406733__li10711712102512"><a name="EN-US_TOPIC_0000001945406733__li10711712102512"></a><a name="li10711712102512"></a><span>Run the following command to query the GUIDs of all mailboxes, find the GUID of the mailbox whose <strong>Database</strong> is <strong>testb2020</strong> and <strong>DisplayName</strong> is <strong>mail001</strong>, and record the value of <strong>MailboxGuid</strong>:</span><p></p><pre class="screen">Get-MailboxDatabase | Get-MailboxStatistics | Format-List DisplayName, MailboxGuid, Database, DisconnectReason, DisconnectDate</pre> <p></p></li>
     <li><span>Run the following command to update the mailbox status. In the following command, <em>GUID1</em> is the GUID obtained in <a href="#EN-US_TOPIC_0000001945406733__li1231285813236">2</a>, and <em>GUID2</em> is the GUID obtained in <a href="#EN-US_TOPIC_0000001945406733__li10711712102512">3</a>.</span><p></p><pre class="screen">Update-StoreMailboxState -Database "<em>GUID1</em>" -Identity "<em>GUID2</em>"</pre> <p></p></li>
     <li><span>Log in to the <strong>Server Manager</strong> of the agent host where the target database resides. On the menu bar on the right of the dashboard, choose <span class="uicontrol"><b>Tools &gt; Active Directory Users and Computers</b></span>.</span><p></p><p></p> <p></p></li>
     <li><span>On the page that is displayed, select the <strong>Users</strong> directory under the Active Directory domain controller. Right-click the blank area on the right and choose <span class="uicontrol"><b>New &gt; User</b></span> from the shortcut menu.</span><p></p><p></p> <p></p></li>
     <li id="EN-US_TOPIC_0000001945406733__li18452125643710"><a name="EN-US_TOPIC_0000001945406733__li18452125643710"></a><a name="li18452125643710"></a><span>After setting the name and login name of the new user, click <span class="uicontrol"><b>Next</b></span> to set the password. You can select <strong>Password never expires</strong> as required, click <strong>Next</strong>, and then click <strong>Finish</strong>. The Active Directory domain user is created.</span></li>
     <li><span>Log in to <strong>Exchange admin center</strong> as an administrator, choose <span><img src="en-us_image_0000001945617729.png"></span> &gt; <span class="uicontrol"><b>Connect a mailbox</b></span>, find the mailbox whose display name is <strong>mail001</strong> (name of the restored mailbox) and database name is <strong>testb2020</strong> (name of the target database for restoration), select the mailbox, and click the <span><img src="en-us_image_0000001913260004.png"></span> icon.</span></li>
     <li><span>Select <span class="uicontrol"><b>User mailbox</b></span>, click <span class="uicontrol"><b>next</b></span>, and select the user to be connected, which is created in <a href="#EN-US_TOPIC_0000001945406733__li18452125643710">7</a>. After selecting the user, click <span class="uicontrol"><b>finish</b></span>. The Active Directory domain user is bound to the mailbox.</span><p></p><p></p> <p></p> <p></p></li>
     <li><span>Log in to the mailbox as the new Active Directory domain user created in <a href="#EN-US_TOPIC_0000001945406733__li18452125643710">7</a> (a new user needs to set the language and time zone to complete the initialization). You can check whether the data in the mailbox is completely restored.</span><p></p><p></p> <p></p></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000001806524374.html">Recovery</a>
    </div>
   </div>
  </div>
 </body>
</html>